package com.xxs.config;

import com.jfinal.config.Routes;

public class AdminRoutes extends Routes {

	public void config() {
		setBaseViewPath("/WEB-INF/template");
		add("/admin/resource", com.xxs.controller.admin.ResourceController.class);
    	add("/admin/common", com.xxs.controller.admin.CommonController.class);
    	add("/admin/site", com.xxs.controller.admin.SiteController.class);
    	add("/admin/info", com.xxs.controller.admin.InfoController.class);
    	add("/admin/node", com.xxs.controller.admin.NodeController.class);
    	add("/admin/attribute", com.xxs.controller.admin.AttributeController.class);
    	add("/admin/model", com.xxs.controller.admin.ModelController.class);
    	add("/admin/table", com.xxs.controller.admin.TableController.class);
    	add("/admin/ad", com.xxs.controller.admin.AdController.class);
    	add("/admin/generate", com.xxs.controller.admin.GenerateController.class);
	}
}
